package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ShopMerchantAllot;
import com.woniuxy.common.entity.ShopMerchantAllotExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopMerchantAllotMapper {
    long countByExample(ShopMerchantAllotExample example);

    int deleteByExample(ShopMerchantAllotExample example);

    int deleteByPrimaryKey(String allotId);

    int insert(ShopMerchantAllot record);

    int insertSelective(ShopMerchantAllot record);

    List<ShopMerchantAllot> selectByExample(ShopMerchantAllotExample example);

    ShopMerchantAllot selectByPrimaryKey(String allotId);

    int updateByExampleSelective(@Param("record") ShopMerchantAllot record, @Param("example") ShopMerchantAllotExample example);

    int updateByExample(@Param("record") ShopMerchantAllot record, @Param("example") ShopMerchantAllotExample example);

    int updateByPrimaryKeySelective(ShopMerchantAllot record);

    int updateByPrimaryKey(ShopMerchantAllot record);
}